package com.syy.spider.dao;

import com.syy.spider.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminMapper {
    Admin selectUserByNameAndPas(@Param("oldPas") String oldPas, @Param("username") String username);

    void updatePwd(@Param("username") String username, @Param("newPas") String newPas);
}
